# -*- coding: utf-8 -*-
'''
@author: olivia.dou
Created on: 2019/4/30 13:46
desc:
'''
from util.db_util import execute_query

def get_userid_by_email(user_email):
    res = execute_query("SELECT id from nlp_knews_user WHERE email='%s'"%user_email)
    return res[0][0]

 